package com.hyt.it.ogt.kq.service.gov.model.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.hyt.core.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author liuq
 * @since 2020-12-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="Organization对象", description="机构")
@JsonIgnoreProperties(ignoreUnknown = true)
public class OrganizationDTO extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "机构id")
    private String officeid;

    @ApiModelProperty(value = "父级组织机构id")
    private String pid;

    @ApiModelProperty(value = "父级组织机构名称")
    private String pname;

    @ApiModelProperty(value = "祖级列表")
    private String ancestors;

    @ApiModelProperty(value = "组织机构编码")
    private String code;

    @ApiModelProperty(value = "组织机构名称")
    private String name;

    @ApiModelProperty(value = "组织机构别名")
    private String aliasname;

    @ApiModelProperty(value = "组织机构邮箱")
    private String email;

    @ApiModelProperty(value = "地址父路径ids")
    private String addrpids;

    @ApiModelProperty(value = "地址")
    private String addr;

    @ApiModelProperty(value = "网站地址")
    private String web;

    @ApiModelProperty(value = "logo图片地址")
    private String logo;

    @ApiModelProperty(value = "背景图片地址")
    private String background;

    @ApiModelProperty(value = "负责人")
    private String linkman;

    @ApiModelProperty(value = "联系电话")
    private String linktel;

    @ApiModelProperty(value = "行业类型")
    private String industrytype;

    @ApiModelProperty(value = "组织机构类型(参考数据字典中的配置)")
    private String orgType;

    @ApiModelProperty(value = "组织机构子类型(参考数据字典中的配置)")
    private String orgSubType;

    @ApiModelProperty(value = "组织机构路由标识")
    private String organRouteFlag;

    @ApiModelProperty(value = "机构rpc服务列表")
    private String organRouteRpcService;

    @ApiModelProperty(value = "状态(false:停用，true:启用)")
    private Boolean status;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "部门排序")
    private Integer seq;

}
